<h1>Book#search</h1>
<p>Find me in app/views/book/search.html.erb</p>
<div>
  <% form_tag({:action => 'search'},:method => 'get') do %>

<%= text_field_tag :search, params[:search] %>
<%= submit_tag "Search", :title => nil %>

<% end %>
</div>

Your Search was <%= h @search %>

<div>
  <% for book in @books %>
    <li><%= link_to h(book.title), :action => "show", :id => book.id %> </li>
    <% end %>
  
</div>